﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Trackr.Dispatcher.Interfaces;
using Trackr.Dispatcher.Attributes;

namespace Trackr.GUI.Subscriptions
{
	public class ClearCache : ISubscription
	{
		[SubscribeTo(typeof(Publishers.TimeItemAdded))]
		public void ClearTimeItemCache(Publishers.TimeItemAdded data)
		{
			this.Clear(data);
		}

		private void Clear(Publishers.TimeItemBase data)
		{
			//System.Windows.MessageBox.Show(data.ID.ToString());
		}
	}
}
